package com.hzj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/*@Author
*
* 黄艳
*  */
@Data
@EqualsAndHashCode(callSuper = false)
public class PlatformNotice implements Serializable {

    /*
    编号
    * */
    @TableId(value = "id", type = IdType.AUTO)
    private  Integer id;
    /*
    标题
    * */
    private  String title;
    /*
    内容
    * */
    private  String substance;
    /*
    创建时间
    * */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    /*
    修改时间
    * */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private  Date updateTime;
    /*
    逻辑删除(1:已删除，0:未删除)
    * */

    @TableLogic
    private  Integer isDeleted;



}
